﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gqq.CodeFirst.Palace
{
    public class Princess : IPerson
    {
        public int Id { get; set; }
        public string Name { get; set; }

        //如果把virtual注销掉，则为“非延时加载”
        public virtual ICollection<Unicorn> Unicorns { get; set; }
        public virtual ICollection<LadyInWaiting> LadiesInWaiting { get; set; }
    }
}
